package com.designpattern.creatorpattern.builder;

/**
 * @author Administration
 * @date 2021/10/14 - 14:26 - 星期四
 * @project 建造者模式中的 具体建造者类
 * @package com.designpattern.creatorpattern.builder
 * @by 晨
 */
public class OfoBuilder extends Builder{
    @Override
    public void buildFrame() {
        mBike.setFrame("碳纤维车架");
    }

    @Override
    public void buildSeat() {
        mBike.setSeat("橡胶车座");
    }

    @Override
    public Bike createBike() {
        return mBike;
    }
}
